package com.windward.vii.service.rongcloud.messages.extend;

import com.windward.vii.service.rongcloud.messages.BaseMessage;
import com.windward.vii.service.rongcloud.util.GsonUtil;

public class RandomCallMessage extends BaseMessage {

    private String chatId = "";
    private String targetUserId = "";

    private transient static final String TYPE = "RC:RandomCallMessage";

    public RandomCallMessage() {}

    public RandomCallMessage(String chatId, String targetUserId) {
        this.chatId = chatId;
        this.targetUserId = targetUserId;
    }

    @Override
    public String getType() {
        return TYPE;
    }

    @Override
    public String toString() {
        return GsonUtil.toJson(this, RandomCallMessage.class);
    }

    public String getChatId() {
        return chatId;
    }

    public void setChatId(String chatId) {
        this.chatId = chatId;
    }

    public String getTargetUserId() {
        return targetUserId;
    }

    public void setTargetUserId(String targetUserId) {
        this.targetUserId = targetUserId;
    }
}
